SPEED=$1
BUFFER_SIZE=$2
mmdelay=$3
cc_name=$4

ethtool -K enp1s0f1 gso off
ethtool -K enp1s0f1 gso off
sysctl -w net.ipv4.tcp_sack=0

iperf3 -s &
tcpdump -i enp1s0f1 -s 61 -w cellsim_edith_${SPEED}_${BUFFER_SIZE}_${mmdelay}_${cc_name}.pcap &
sleep 40
pkill -9 iperf3
sleep 1
pkill -9 tcpdump